import request from '@/utils/request'

// 首页统计
export const getHomeData = () => {
  return request({
    url: '/enterprise/house/houseDynamic/homePage',
    method: 'get'
  })
}
// 首页统计-账单统计
export const getHomeBillData = (params) => {
  return request({
    url: '/enterprise/house/houseDynamic/homePage/bill',
    method: 'get',
    params
  })
}

// 获取地图数据
export const getMapData = (params) => {
  return request({
    url: 'https://geo.datav.aliyun.com/areas_v3/bound/100000.json',
    method: 'get',
    params
  })
}
